﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using CommonLibrary.Wf.Common;
using System.Drawing.Design;
using CommonLibrary.Wf.ActivityUtil;
using CommonLibrary.Wf.InterFace;

namespace CommonLibrary.Wf.ActivityUtil
{
    public partial class 等待审批提交 : System.Workflow.Activities.HandleExternalEventActivity
    {
        private ChoiceClrxx clrs = new ChoiceClrxx();

        [Category("处理人")]
        [Description("指定该工作的处理人.")]
        [Browsable(true)]
        [TypeConverter(typeof(ChoiceClrxxConvert))]
        //[Editor(typeof(YhEdit), typeof(UITypeEditor)), LocalizableAttribute(true)]  //mlh 注释 2011-11-07
        public ChoiceClrxx 处理人
        {
            get
            {
                return clrs;
            }
            set
            {
                clrs = value;
            }
        }

        public 等待审批提交()
        {
            InitializeComponent();
            this.InterfaceType = typeof(CommonLibrary.Wf.InterFace.IBILLService);
            this.EventName = "BillNext";
            this.Name = "等待审批提交";
        }
        public static DependencyProperty 返回结果Property =
            DependencyProperty.Register("返回结果", typeof(string), typeof(等待审批提交));

        [DescriptionAttribute("返回结果")]
        [CategoryAttribute("参数")]
        [BrowsableAttribute(true)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        public string 返回结果
        {
            get
            {
                return ((string)(base.GetValue(等待审批提交.返回结果Property)));
            }
            set
            {
                base.SetValue(等待审批提交.返回结果Property, value);
            }
        }
    }
}
